package cn.backpackerxl.service;

import cn.backpackerxl.entity.Teacher;

import java.util.List;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/1
 * FileName: TeacherService
 **/
public interface TeacherService {
    int add(Teacher teacher);

    int delete(Long id);

    int edit(Teacher teacher);

    List<Teacher> all();
}
